package cn.yunhe.spring.mybatis.model;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Created by Administrator on 2016/11/29.
 */
@Component("order")
public class Order {
   private Integer id;
   private Integer userid;//用户id
   private String goodsname;//商品名称
   private Integer goodscount;//购买数量
   private Date buytime;//购买时间

   public Integer getId() {
      return id;
   }

   public void setId(Integer id) {
      this.id = id;
   }

   public Integer getUserid() {
      return userid;
   }

   public void setUserid(Integer userid) {
      this.userid = userid;
   }

   public String getGoodsname() {
      return goodsname;
   }

   public void setGoodsname(String goodsname) {
      this.goodsname = goodsname;
   }

   public Integer getGoodscount() {
      return goodscount;
   }

   public void setGoodscount(Integer goodscount) {
      this.goodscount = goodscount;
   }

   public Date getBuytime() {
      return buytime;
   }

   public void setBuytime(Date buytime) {
      this.buytime = buytime;
   }
}
